Skip to content

Conversation

l-monninger
Copy link
Contributor

Summary

Provides initial implementation of box Environment. Additionally, provides the option to snapshot from live movement instance into an isolated instance of movement migrator in a manner which partially addresses #136.

Note

There are some more complicated API features that make this slightly more friendly in real live environments. But, I am likely going to wait until there's more general exposure to the problems those address before trying to add the to the box environment. Likely this will depend a bit upon #148.

Copy link
Collaborator

@andygolay andygolay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting this permission denied error in the snapshot test:

Error: failed to copy dir for MovementMigrator

Caused by:
    Permission denied (os error 13)
test migrator::movement_migrator::tests::test_snapshot ... FAILED

@l-monninger
Copy link
Contributor Author

It looks like the failure has to do with the user which CI is using when spawning the containers vs. when running the rest of the program. I wonder if try_home_debug would work around this. Probably not, but could be worth a shot.

Ok(response) => {
if response.status().is_success() {
ready = true;
continue;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears aggressive. Maybe we could add a delay here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, could be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants